package cn.zc.curriculum.service.mapper;


import cn.zc.curriculum.entity.CurriculumVideo;
import cn.zc.curriculum.entity.Dto.CurriculumVideoDto;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

/**
 * <p>
 * 课程视频 Mapper 接口
 * </p>
 *
 * @author keno
 * @since 2022-02-14
 */
public interface CurriculumVideoMapper extends BaseMapper<CurriculumVideo> {

    /**
     * 根据id，作者id，文件后缀，目录Id查询数据
     * @param initPage
     * @param curriculumVideoDto
     * @return
     */
    List<CurriculumVideoDto> findCurriculumVideo(Page<Object> initPage, CurriculumVideoDto curriculumVideoDto);
}
